﻿using FastIOC.Desgin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FastIOC.Proxy
{
    public class DefaultIntercept : IIntercept
    {

        public void Before(object @object,string MethodName, object[] Parameters)
        {
            Console.WriteLine("拦截类执行Before方法，拦截方法名为:" + MethodName);
        }

        public void After(object @object, string MethodName, object Result, DateTime Start, DateTime End)
        {
            Console.WriteLine("拦截类执行After方法，拦截方法名为:" + MethodName);
        }
    }
}
